luci-app-keepalived: fix typo in option name: fail -> fall
authorHannu Nyman <[email protected]>
Sun, 28 Sep 2025 06:29:49 +0000 (09:29 +0300)
committerHannu Nyman <[email protected]>
Sun, 28 Sep 2025 06:29:49 +0000 (09:29 +0300)
Fix typo in the option name: 'fall' instead of 'fail'
Fixes #7965

Signed-off-by: Hannu Nyman <[email protected]>
applications/luci-app-keepalived/htdocs/luci-static/resources/view/keepalived/script.js
applications/luci-app-keepalived/htdocs/luci-static/resources/view/keepalived/servers.js

index 16a5572011f23847ca965868d14de8418931d13f..6bc8156ee8e3f9274fb5d6a9d55261b6aa8d483a 100644 (file)
@@ -88,7 +88,7 @@ return view.extend({
                o.optional = true;
                o.datatype = 'uinteger';
 
-               o = s.option(form.Value, 'fail', _('Fail'),
+               o = s.option(form.Value, 'fall', _('Fall'),
                        _('Required number of successes for KO transition'));
                o.optional = true;
                o.datatype = 'uinteger';
index 55e6403a85ff68073a1ea092b9196cc5c4add3f5..80ead84216b80c309d83b3adbf9022ebc5eee1a7 100644 (file)
@@ -112,7 +112,7 @@ return view.extend({
                o.datatype = 'uinteger';
                o.modalonly = true;
 
-               o = s.taboption('advanced', form.Value, 'fail', _('Fail'),
+               o = s.taboption('advanced', form.Value, 'fall', _('Fall'),
                        _('Required number of successes for KO transition'));
                o.optional = true;
                o.datatype = 'uinteger';